﻿@model EntityModel.ProductAlbum
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title>文章详情</title>
  @*  <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />*@
</head>
<body>
    <script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.form.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.fileupload.js")" type="text/javascript"></script>
    @using (Html.BeginForm())
    {
        @Html.ValidationSummary(true)
        <fieldset>
            <legend>文章详情</legend>
            <div class="editor-label">
                商品名称
            </div>
            <div class="editor-field">
                @ViewData["Name"]
            </div>
            <div class="editor-label">
                图片一
            </div>
            <div class="editor-field">
                <div style="width: 100%; border: solid 1px #dddddd; float: left;">
                    <div class="fileimgdiv" id="" style="clear: both; margin-bottom: 5px;">
                        @Html.HiddenFor(model => model, new { @class = "required" })
                    </div>
                    <span>
                        <input type="file" name="file" />
                    </span>&nbsp;
                    <input type="button" value="upload" onclick="javascript:uploadfile(this);" />&nbsp;<span>图片最适合宽度
                        390px × 228px。</span>
                </div>
            </div>
            <div class="editor-label">
               图片二
            </div>
            <div class="editor-field">
                <div style="width: 100%; border: solid 1px #dddddd; float: left;">
                    <div class="fileimgdiv" id="" style="clear: both; margin-bottom: 5px;">
                        @Html.HiddenFor(model => model.Url, new { @class = "required" })
                    </div>
                    <span>
                        <input type="file" name="file" />
                    </span>&nbsp;
                    <input type="button" value="upload" onclick="javascript:uploadfile(this);" />&nbsp;<span>图片最适合宽度
                        390px × 228px。</span>
                </div>
            </div>
            <p>
                <input type="submit" value="Create" />
            </p>
        </fieldset>
    }
    <p>@(new HtmlString(@ViewBag.Message))</p>
    <div>
        @Html.ActionLink("Back to List", "Index")
    </div>
</body>
</html>
